package com.baosu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baosu.domain.Article;
import com.baosu.domain.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface CategoryMapper extends BaseMapper<Category> {

    int selectCategoryAndArtcile(List<Long> ids);

    List<Article> getArticlelistByCategoryId(IPage<Article> page,Long id);
}




